﻿using Inovout.Cloud.Messager.Domain;
using Inovout.Cloud.Messager.Service;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;

namespace Inovout.Cloud.Messager.WebApi.Controllers
{
    public class SendMessageController : ApiController
    {
        public void Post(Message Msg,string TemplateId)
        {
            //new MessageService().SenderMessage(UserId,Recipients,TempId,Parameters);string UserId, string Recipients, string TempId, string Parameters
            new MessageService().SenderMessage(Msg, TemplateId);
        }
    }
}
